package com.huang.service.impl;

import com.huang.mapper.UserMapper2;
import com.huang.entity.User2;
import com.huang.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper2 userMapper2;

    @Override
    public User2 getById(Integer id) {
        return userMapper2.selectById(id);
    }
}
